#ifndef _BIOSDISK_
#define _BIOSDISK_

#include <type.h>

struct rpacket	{
	void *buf;
	u32 lba;
	u16 count;
};
int read_drive(void *buf,u32 LBA,u16 n);

int read_drive_buf(u32 lba,u8 *start,u32 offset,u32 size);

enum {WRITE_DISK};
enum {READ_DISK};

#endif
